package com.hh.eduservice.service.client;

import com.hh.commonutils.Result;
import com.hh.eduservice.service.client.impl.VideoInterviceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name = "service-video", fallback = VideoInterviceImpl.class)
public interface VideoIntervice {
    @DeleteMapping("/video/deleteUploadVideo/{videoIds}")
    public Result deleteUploadVideo(@PathVariable("videoIds") String videoIds);
}
